﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MiniProfilerWebApplication1.Biz;

namespace MiniProfilerWebApplication1.Controllers
{
    public class HomeController : Controller
    {
        // GET: Home
        public ActionResult Index()
        {
            using (var context=new TestDbContext())
            {
                var result = context.Users.ToList();

                return View(result);
            }
        }
    }
}